JavaScript

windowObject.setDisplay Method

Syntax

windowObj.setDisplay(part, visible);

Arguments

partstring

The Window part. Can be one of the following:

Window Part
Description
"title"

The window title.

"header"

The window header.

"body-container"

The container for the body.

"tbar"

The top bar.

"body"

The window body.

"bbar"

The bottom bar.

"buttons"

The window buttons.

"footer"

The window footer.

visibleboolean

A true/false value. If true, window part will be shown. If false, window part will be hidden.

Description

Set the visibility of parts of the window.

Example

//get a pointer to the window object
var windowObj = {dialog.object}.getWindow('MYWINDOW');

if (windowObj) {
    windowObj.setDisplay('tbar',false);
}